﻿using Shake.Framework.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace Shake.Framework.Context
{
    public class SubscriberContext
    {
        /// <summary>
        /// 订阅主题
        /// </summary>
        public Subject Subject { get; set; }
        /// <summary>
        /// 订阅执行方法
        /// </summary>
        public MethodInfo Subscriber { get; set; }

        Action<object, object> Method { get; set; }
    }
}
